package com.lhl.miniapp.controller;

import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className: com.lhl.miniapp.controller.WxDemoController
 * @description: TODO 类描述
 * @author: king
 * @date: 2020-11-30
 **/
@Api(tags = "WxDemoController", produces = "WxDemoController")
@Slf4j
@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequestMapping("/demo")
public class WxDemoController {

    @GetMapping("/test")
    public String hh(){
        return "test ok!";
    }
}
